;$(function() {
	var id = $("#id").val();
	getInfo(id);
})

function getInfo(id){
	   $.ajax({
        url: ctxPath+"/set/announcement/findById/"+id,
        type: 'GET',
        success: function(d){
        	var success = d.success;
        	 if(success==true){
        	 var data=  d.data;
        	 if(data!=null){
        		 $("#title").html(data.title);
        		 if(data.contentEO!=null){
        			 $("#content").html(data.contentEO.content);
        		 }
        	 }
        	}
        } 
    });
}
